import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
//有些样式它默认的字是英文的，中文
import locale from 'element-plus/lib/locale/lang/zh-cn';

//统计图之类的
import * as echarts from 'echarts'

//导入全局样式表
import './assets/css/global.css';

// const app = createApp(App);
// import Axios from './api/http.js'
// app.config.globalProperties.$http = Axios


createApp(App)
  .use(store)
  .use(router)
  .use(ElementPlus,{locale})
  .use(echarts)
  .mount("#app");
